package com.zhu.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhu.domain.TableColumn;
import com.zhu.mapper.TableColumnMapper;
import com.zhu.service.TableColumnService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author JoyBoy
 * @since 2022-06-05
 */
@Service
public class TableColumnServiceImpl extends ServiceImpl<TableColumnMapper, TableColumn> implements TableColumnService {
    @Override
    public List<TableColumn> getList(Integer propType) {
        QueryWrapper<TableColumn> queryWrapper = new QueryWrapper<>();
        queryWrapper.eq("prop_type",propType);
        return this.list(queryWrapper);
    }
}
